<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title></title>
    <!-- 引入face-api.js -->
    <script src="./js/face-api.min.js"></script>
    <!-- 引入写好的脚本 -->
    <script src="./js/clip-images.js"></script>
  </head>
  <body>
    <script>
      
    </script>
    <script>
      new ClipImages("./2025419-450082.mp4").then((data) => {
        data.forEach((item) => {
          let img = document.createElement("img");
          img.src = item.clipImage;
          document.body.appendChild(img);
          item.clipImageBlob = base64ToBlob(item.clipImage)
        });
        console.log(data);
      });
    </script>
  </body>
</html>
